package com.vizhuo.client.business.match.goods.reply;

import java.util.List;

import com.vizhuo.client.base.AbstractReply1;
import com.vizhuo.client.business.match.goods.returncode.MatOrderLogReturnCode;
import com.vizhuo.client.business.match.goods.vo.MatOrderLogVo;

/**
 * 返回给客户端结果。
 * 
 * @author luzh
 * @date 创建时间：2015年6月29日 下午4:10:01
 * @version 1.0
 * @parameter
 * @since
 * @return
 */
public class MatOrderLogReply extends AbstractReply1 {


    // 订单实体状态
    private Long goodsId;

    private String stateName;

    // log记录
    private List<MatOrderLogVo> matOrderLogVo;


    @Override
    public void setReturnCode(String returnCode) {
        super.setReturnCode(returnCode);
        MatOrderLogReturnCode code = new MatOrderLogReturnCode();
        super.setReturnMessage(code.messageMap.get(returnCode));
    }

    public List<MatOrderLogVo> getMatOrderLogVo() {
        return matOrderLogVo;
    }

    public void setMatOrderLogVo(List<MatOrderLogVo> matOrderLogVo) {
        this.matOrderLogVo = matOrderLogVo;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

}
